package prickworlds.structure;

/**
 * Base class for classes that receive events and react to it
 * 
 * @author Faruk Acibal, Richard Dziambor, Christian Holzreuter, Nicolas Winkler
 */
public interface EventHandler {
	/**
	 * is invoked when a key event has to be handled
	 * @param event contains details about the event
	 */
	public void handleKeyEvent(KeyEvent event);

	/**
	 * is invoked when a mouse event has to be handled
	 * @param event contains details about the event
	 */
	public void handleMouseEvent(MouseEvent event);
}
